package cn.tsmchina.one.dao.config;

import cn.tsmchina.one.domain.config.Config;

/** 
 * 
 * @author locoroco.rao
 * @date   2013-10-29
 * Copyright: Copyright (c) 2013 TSM,Inc
 */

public interface ConfigDao {
	/**
	 * 根据配置名字获取配置项
	 */
	Config getConfig(long customerId, String configKey);
	
	/**
	 * 更新首页图片配置
	 */
	int updateIndexImage(int configId, String imagePath);
	
	int addIndexImage(long customerId, String imagePath, String configKey);
}
